package com.ruoyi.management.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.DataSource;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 【请填写功能名称】对象 bx
 *
 * @author ruoyi
 * @date 2025-05-19
 */
@Data
public class Bx extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 报销日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报销日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date bxrq;

    private Integer id;
    /** 项目名称 */
    @Excel(name = "项目名称")
    private String xmmc;

    /** 报销类别 */
    @Excel(name = "报销类别")
    private String bxlb;

    /** 金额 */
    @Excel(name = "金额", cellType = Excel.ColumnType.NUMERIC, scale = 2)
    private BigDecimal jine;

    /** 项目id */
//    @Excel(name = "项目id")
    private Long xmid;

//    @Excel(name = "地址")
    private String address;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
//    @Excel(name = "查询开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date bxrqstart;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
//    @Excel(name = "查询结束日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date bxrqend;

    @Excel(name = "备注")
    private String beizhu;

    private String userid;

    private String username;
}
